package com.theatre.userservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.theatre.userservice.model.entity.Cart;
import com.theatre.userservice.model.vo.CartVO;

import java.math.BigDecimal;
import java.util.List;

public interface CartService extends IService<Cart> {
    boolean addToCart(Cart cart);
    boolean removeFromCart(Long id);
    List<CartVO> listCartByShopId(Long shopId);
    boolean clearCart(Long shopId);
    BigDecimal checkout(Long shopId);
}
